charm.land/lipgloss/v2.Style.getAsInt (method)

45 uses

	charm.land/lipgloss/v2 (current package)
		borders.go#L295: 	if r := -s.getAsInt(borderForegroundBlendOffsetKey); r != 0 {
		get.go#L78: 	return s.getAsInt(widthKey)
		get.go#L84: 	return s.getAsInt(heightKey)
		get.go#L120: 	return s.getAsInt(paddingTopKey),
		get.go#L121: 		s.getAsInt(paddingRightKey),
		get.go#L122: 		s.getAsInt(paddingBottomKey),
		get.go#L123: 		s.getAsInt(paddingLeftKey)
		get.go#L129: 	return s.getAsInt(paddingTopKey)
		get.go#L135: 	return s.getAsInt(paddingRightKey)
		get.go#L141: 	return s.getAsInt(paddingBottomKey)
		get.go#L147: 	return s.getAsInt(paddingLeftKey)
		get.go#L163: 	return s.getAsInt(paddingLeftKey) + s.getAsInt(paddingRightKey)
		get.go#L169: 	return s.getAsInt(paddingTopKey) + s.getAsInt(paddingBottomKey)
		get.go#L181: 	return s.getAsInt(marginTopKey),
		get.go#L182: 		s.getAsInt(marginRightKey),
		get.go#L183: 		s.getAsInt(marginBottomKey),
		get.go#L184: 		s.getAsInt(marginLeftKey)
		get.go#L190: 	return s.getAsInt(marginTopKey)
		get.go#L196: 	return s.getAsInt(marginRightKey)
		get.go#L202: 	return s.getAsInt(marginBottomKey)
		get.go#L208: 	return s.getAsInt(marginLeftKey)
		get.go#L224: 	return s.getAsInt(marginLeftKey) + s.getAsInt(marginRightKey)
		get.go#L230: 	return s.getAsInt(marginTopKey) + s.getAsInt(marginBottomKey)
		get.go#L308: 	return s.getAsInt(borderForegroundBlendOffsetKey)
		get.go#L419: 	return s.getAsInt(maxWidthKey)
		get.go#L425: 	return s.getAsInt(maxHeightKey)
		get.go#L431: 	return s.getAsInt(tabWidthKey)
		get.go#L564: func (s Style) getAsInt(k propKey) int {
		style.go#L292: 		width           = s.getAsInt(widthKey)
		style.go#L293: 		height          = s.getAsInt(heightKey)
		style.go#L297: 		topPadding    = s.getAsInt(paddingTopKey)
		style.go#L298: 		rightPadding  = s.getAsInt(paddingRightKey)
		style.go#L299: 		bottomPadding = s.getAsInt(paddingBottomKey)
		style.go#L300: 		leftPadding   = s.getAsInt(paddingLeftKey)
		style.go#L307: 		maxWidth        = s.getAsInt(maxWidthKey)
		style.go#L308: 		maxHeight       = s.getAsInt(maxHeightKey)
		style.go#L559: 		tw = s.getAsInt(tabWidthKey)
		style.go#L573: 		topMargin    = s.getAsInt(marginTopKey)
		style.go#L574: 		rightMargin  = s.getAsInt(marginRightKey)
		style.go#L575: 		bottomMargin = s.getAsInt(marginBottomKey)
		style.go#L576: 		leftMargin   = s.getAsInt(marginLeftKey)